<?php get_header(); ?>
<div class="clear"></div>
<div id="middle">
		<div id="container">
			<div id="content">
            <!-- Start the Loop. -->
            <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                    <!--post Start-->
    <div class="post">
       <h1 class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title=""><?php the_title(); ?></a></h1>

       <div class="post_content">  <?php the_content(); ?></div>

                    <!--post End-->

    </div>

                    <div class="clear"></div>

            <!--End Loop-->
            <?php endwhile;endif;?>

    </div>
    </div>
    <div class="sidebar" id="sideRight">
        <!--Start Sidebar-->

        <?php
		if (is_active_sidebar('right')){

	 dynamic_sidebar('right');
}else{
echo "Не активен, собака";
}
?>
        <!--End Sidebar-->
    </div>



    </div>
<?php get_footer(); ?> 